def gridToScreen(gridCoords):
    #print "GridCoords before conversion: "+str(gridCoords)
    screenCoords = [(60+(gridCoords[0] * 16)-14),(60+(gridCoords[1] * 16)-14)]
    #print "ScreenCoords after conversion: "+str(screenCoords)    
    return screenCoords

def screenToGrid(self, screenCoords):
    #Get grid location from screen coords
    gridCoords = [(screenCoords.x + 7)-51 , (screenCoords.y + 7)-51]
    if gridCoords[0] > 0:
        gridCoords[0] = gridCoords[0]//16
    if gridCoords[1] > 0:
        gridCoords[1] = gridCoords[1]//16
    return gridCoords

def screenToGridList(self, screenCoords):
    #Get grid location from screen coords
    gridCoords = [(screenCoords[0] + 7)-51 , (screenCoords[1] + 7)-51]
    if gridCoords[0] > 0:
        gridCoords[0] = gridCoords[0]//16
    if gridCoords[1] > 0:
        gridCoords[1] = gridCoords[1]//16
    return gridCoords